<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <script>
        var arr = [10, 100, 1000, 10000, 10000]
        var res = []

        function fn(a) {
            for (var i = 0; i < arr.length; i++) {
                res.push(arr[i] * 1.3)
            }

            return res
        }

        var sum = fn(arr)
        console.log(sum)
    </script>
</body>

</html>